const Router = require('koa-router')

const router = new Router({
  prefix: '/book'
})

router.get('/hot_keyword', async ctx => {
  ctx.body = {
    'hot': [
      '哈利·波特',
      '村上春树',
      '东野圭吾',
      '白夜行',
      '韩寒',
      '金庸',
      '王小波'
    ]
  }
})

module.exports = router